package cn.edu.mju.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;


/**
 * @author 16423
 */
@SpringBootApplication
@EnableFeignClients(value = "cn.edu.mju.common.client")
@MapperScan("cn.edu.mju.auth.mapper")
@ComponentScan({"cn.edu.mju.common.redis","cn.edu.mju.auth"})
@EnableAsync
public class AuthServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthServiceApplication.class, args);
    }

}
